projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17059f9
)
GtkSwitch: Use G_PARAM_EXPLICIT_NOTIFY
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 9 Jun 2014 15:48:09 +0000
(11:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 9 Jun 2014 17:31:12 +0000
(13:31 -0400)
gtk/gtkswitch.c
patch
|
blob
|
history
diff --git
a/gtk/gtkswitch.c
b/gtk/gtkswitch.c
index 210509c2514842637779cdbbe60ceb50c95798ca..0d0469847ab4eb34ef8e743191ddee2602c10cd1 100644
(file)
--- a/
gtk/gtkswitch.c
+++ b/
gtk/gtkswitch.c
@@
-802,7
+802,7
@@
gtk_switch_class_init (GtkSwitchClass *klass)
P_("Active"),
P_("Whether the switch is on or off"),
FALSE,
- GTK_PARAM_READWRITE);
+ GTK_PARAM_READWRITE
|G_PARAM_EXPLICIT_NOTIFY
);
/**
* GtkSwitch:state:
@@
-817,7
+817,7
@@
gtk_switch_class_init (GtkSwitchClass *klass)
P_("State"),
P_("The backend state"),
FALSE,
- GTK_PARAM_READWRITE);
+ GTK_PARAM_READWRITE
|G_PARAM_EXPLICIT_NOTIFY
);
gobject_class->set_property = gtk_switch_set_property;
gobject_class->get_property = gtk_switch_get_property;